package com.jeesite.modules.mo.dao;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.mo.entity.MoShouyi;
import io.swagger.models.auth.In;

import java.util.Date;

/**
 * mo_shouyiDAO接口
 * @author 李寒冰
 * @version 2024-10-22
 */
@MyBatisDao(dataSourceName="ds2")
public interface MoShouyiDao extends CrudDao<MoShouyi> {

    /**
     * 用户总收益
     * @param userId
     * @return
     */
    public double shouyiSumByUser(String userId, Integer type, String workDate,String sn);

    public MoShouyi shouyiSumByUserSn(String userId,Integer type, Date workDate,String sn);



}